package com.cvte.vdt.uartservice.dao;

import android.content.Context;

import com.cvte.vdtlibrary.bluetooth.EntityBluetoothDevice;
import com.cvte.vdtlibrary.bluetooth.EnumBtDeviceStatus;

import java.util.List;

/**
 * Created by wuguitong on 2018/12/1.
 */
public interface BluetoothDevDao {
    public List<EntityBluetoothDevice> getAllBtDevList();
    public List<EntityBluetoothDevice> getPairBtDevList();
    public List<EntityBluetoothDevice> getNotPairBtDevList();
    public EntityBluetoothDevice getBtDevByKey(String key);
    public int cleanBtDev();
    public int cleanNotPairBtDev();
    public boolean initBtDevStatus();
    public boolean updateBtDevPairStatus(String key,EnumBtDeviceStatus status);
    public boolean updateBtDevName(String key,String name);
    public boolean addBtDev(String key, String name,EnumBtDeviceStatus status);
    public boolean addBtDev(String key);
    public boolean deleteBtDev(String key);
    public boolean isContainBtDev(String key);
}
